//
//  HLCategoryModel.swift
//  HLXiMaLaYa
//
//  Created by hulinhu on 2018/1/24.
//  Copyright © 2018年 hulinhu. All rights reserved.
//

import Foundation
import ObjectMapper

class HLCategoryModel: Mappable {
    
    required init?(map: Map) {
        
     }
    
     func mapping(map: Map) {
        
        bottomHasMore <- map["bottomHasMore"]
        categoryId <- map["categoryId"]
        direction <- map["direction"]
        hasMore <- map["hasMore"]
        keywords <- map["keywords"]
        
        list <- map["list"]
        loopCount <- map["loopCount"]
        moduleType <- map["moduleType"]
        showInterestCard <- map["showInterestCard"]
        target <- map["target"]
        
        title <- map["title"]
    }
    
    var bottomHasMore = false
    var categoryId = 0
    var direction = ""
    var hasMore = true
    var keywords : [HLKeywardsModel]?
    
    var list : [HLRecommendModel]?
    var loopCount = 0
    var moduleType = ""
    var showInterestCard = false
    var target : [String : Any]?
    
    var title = ""

}
